﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;

namespace ChatServer
{
    [HubName("lochub")]
    public class ChatHub : Hub
    {
        public void Chat(string mesage,Guid destination)
        {
            Clients.All.hello();
        }

        public override System.Threading.Tasks.Task OnDisconnected(bool stopCalled)
        {
            return base.OnDisconnected(stopCalled);
        }
    }
}